.juvenil-header {
  background: linear-gradient(135deg, #ffd700, #daa520);
  color: white;
  text-align: center;
  padding: 2em 1em;
  border-bottom: 4px solid #e1f5fe;
  border-radius: 0 0 30px 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.juvenil-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  font-family: "Poppins", sans-serif;
}

.juvenil-main section {
  background: #ffdead;
  margin: 20px 0;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.juvenil-main section:hover {
  transform: scale(1.02);
  background-color: #ffdead;
}

.juvenil-main h2 {
  color: #ff8c00;
  text-align: center;
  border-bottom: 2px solid #ff6347;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

.juvenil-main p {
  color: #333;
  line-height: 1.6;
  text-align: justify;
}

.quote {
  text-align: center;
  font-style: italic;
  background: #ffa500;
  padding: 10px;
  border-left: 5px solid #ffdab9;
  margin-top: 10px;
  border-radius: 8px;
  color: #ffa500;
}

footer {
  text-align: center;
  padding: 10px;
  background-color: #ffd700;
  color: white;
  border-top: 4px solid #ffa500;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.container {
  width: 80%;
  margin: auto;
}

@media (max-width: 1024px) {
  .container {
    width: 90%;
  }

  h1 {
    font-size: 1.8rem;
  }

  .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .container {
    width: 95%;
  }

  h1 {
    font-size: 1.6rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  nav ul {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.4rem;
  }

  button {
    width: 100%;
    font-size: 1rem;
    padding: 12px;
  }
}